package top.infopub.model.cap;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import top.infopub.generic.GenericEntity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/** 融资立项金融机构(CAP_SETUP_FINANCIAL)

融资立项工作目标(CAP_SETUP_FINANCIAL)**/

public class SetupFinancial extends GenericEntity {

    private String id;
    private String finId;
    private String finOrg;
    //金融类型
    private String capType;
    //融资团队负责人
    private String leader;
    //融资主体
    private String sgCoopId;

    private String financingType;
    //贷款类型
    private String loanType;
    //融资金额
    private String capAmount;
    /*融资期限*/
    private String timeLimit;
    //合同融资成本
    private String capCost;
    //综合成本
    private String multiCost;
    /*还款方式*/
    private String repayType;
    /*附加条件*/
    private String needMemo;
    /*增信方式*/
    private String bailMode;
    /*资金用途*/
    private String capitalType;
    /*还款来源*/
    private String repaySource;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date willArrivalDate;
    private String requires;

    /*报审资料*/
    private List<ReportMaterial> reportMaterialList;
    /*融资主体名称*/
    private String  coopName;
    /*项目proCode*/
    private String proCode;
    /*项目名称*/
    private String proName;
    /*融资ID*/
    private String financingApprovalId;
    /*拟提用授信金额 AMOUNT_CREDIT_EXTENSION*/
    private BigDecimal amountCreditExtension;


    /*具体对接金融机构名称*/
    private String dockBank;

    public String getDockBank() {
        return dockBank;
    }

    public void setDockBank(String dockBank) {
        this.dockBank = dockBank;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public List<ReportMaterial> getReportMaterialList() {
        return reportMaterialList;
    }

    public void setReportMaterialList(List<ReportMaterial> reportMaterialList) {
        this.reportMaterialList = reportMaterialList;
    }

    public BigDecimal getAmountCreditExtension() {
        return amountCreditExtension;
    }

    public void setAmountCreditExtension(BigDecimal amountCreditExtension) {
        this.amountCreditExtension = amountCreditExtension;
    }

    public String getCoopName() {
        return coopName;
    }

    public void setCoopName(String coopName) {
        this.coopName = coopName;
    }

    public String getFinancingApprovalId() {
        return financingApprovalId;
    }

    public void setFinancingApprovalId(String financingApprovalId) {
        this.financingApprovalId = financingApprovalId;
    }

    public String getProCode() {
        return proCode;
    }

    public void setProCode(String proCode) {
        this.proCode = proCode;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setWillArrivalDate(Date willArrivalDate) {
        this.willArrivalDate = willArrivalDate;
    }

    public String getFinId() {
        return finId;
    }

    public void setFinId(String finId) {
        this.finId = finId;
    }


    public String getFinOrg() {
        return finOrg;
    }

    public void setFinOrg(String finOrg) {
        this.finOrg = finOrg;
    }


    public String getCapType() {
        return capType;
    }

    public void setCapType(String capType) {
        this.capType = capType;
    }


    public String getLeader() {
        return leader;
    }

    public void setLeader(String leader) {
        this.leader = leader;
    }


    public String getSgCoopId() {
        return sgCoopId;
    }

    public void setSgCoopId(String sgCoopId) {
        this.sgCoopId = sgCoopId;
    }


    public String getFinancingType() {
        return financingType;
    }

    public void setFinancingType(String financingType) {
        this.financingType = financingType;
    }


    public String getLoanType() {
        return loanType;
    }

    public void setLoanType(String loanType) {
        this.loanType = loanType;
    }


    public String getCapAmount() {
        return capAmount;
    }

    public void setCapAmount(String capAmount) {
        this.capAmount = capAmount;
    }


    public String getTimeLimit() {
        return timeLimit;
    }

    public void setTimeLimit(String timeLimit) {
        this.timeLimit = timeLimit;
    }


    public String getCapCost() {
        return capCost;
    }

    public void setCapCost(String capCost) {
        this.capCost = capCost;
    }


    public String getMultiCost() {
        return multiCost;
    }

    public void setMultiCost(String multiCost) {
        this.multiCost = multiCost;
    }


    public String getRepayType() {
        return repayType;
    }

    public void setRepayType(String repayType) {
        this.repayType = repayType;
    }


    public String getNeedMemo() {
        return needMemo;
    }

    public void setNeedMemo(String needMemo) {
        this.needMemo = needMemo;
    }


    public String getBailMode() {
        return bailMode;
    }

    public void setBailMode(String bailMode) {
        this.bailMode = bailMode;
    }


    public String getCapitalType() {
        return capitalType;
    }

    public void setCapitalType(String capitalType) {
        this.capitalType = capitalType;
    }


    public String getRepaySource() {
        return repaySource;
    }

    public void setRepaySource(String repaySource) {
        this.repaySource = repaySource;
    }

    public Date getWillArrivalDate() {
        return willArrivalDate;
    }

    public String getRequires() {
        return requires;
    }

    public void setRequires(String requires) {
        this.requires = requires;
    }

    //页面提交需要的数据
    private String bankName;

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }
}
